package com.czhoujunlv.drug.Bean;

import java.util.List;

public class SearchData {

    /**
     * msg : success
     * code : 200
     * data : [{"standards":"8g*10袋","number":100,"img":"http://192.168.43.138:8080/index/images/Img2081408.jpg","category_name":"风寒感冒","category_id":1,"company_id":1,"name":"风寒感冒颗粒","sale_money":18,"description":"【暖心冬日，好礼回馈】低至18元。用于风寒感冒，发热，头痛，恶寒，无汗，咳嗽，鼻塞..","company":"联丰村","id":1,"brand":"贵州百灵"}]
     */
    private String msg;
    private int code;
    private List<DataEntity> data;

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public int getCode() {
        return code;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public class DataEntity {
        /**
         * standards : 8g*10袋
         * number : 100
         * img : http://192.168.43.138:8080/index/images/Img2081408.jpg
         * category_name : 风寒感冒
         * category_id : 1
         * company_id : 1
         * name : 风寒感冒颗粒
         * sale_money : 18
         * description : 【暖心冬日，好礼回馈】低至18元。用于风寒感冒，发热，头痛，恶寒，无汗，咳嗽，鼻塞..
         * company : 联丰村
         * id : 1
         * brand : 贵州百灵
         */
        private String standards;
        private int number;
        private String img;
        private String category_name;
        private int category_id;
        private int company_id;
        private String name;
        private Double sale_money;
        private String description;
        private String company;
        private int id;
        private String brand;

        public void setStandards(String standards) {
            this.standards = standards;
        }

        public void setNumber(int number) {
            this.number = number;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public void setCategory_name(String category_name) {
            this.category_name = category_name;
        }

        public void setCategory_id(int category_id) {
            this.category_id = category_id;
        }

        public void setCompany_id(int company_id) {
            this.company_id = company_id;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setSale_money(Double sale_money) {
            this.sale_money = sale_money;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public void setCompany(String company) {
            this.company = company;
        }

        public void setId(int id) {
            this.id = id;
        }

        public void setBrand(String brand) {
            this.brand = brand;
        }

        public String getStandards() {
            return standards;
        }

        public int getNumber() {
            return number;
        }

        public String getImg() {
            return img;
        }

        public String getCategory_name() {
            return category_name;
        }

        public int getCategory_id() {
            return category_id;
        }

        public int getCompany_id() {
            return company_id;
        }

        public String getName() {
            return name;
        }

        public Double getSale_money() {
            return sale_money;
        }

        public String getDescription() {
            return description;
        }

        public String getCompany() {
            return company;
        }

        public int getId() {
            return id;
        }

        public String getBrand() {
            return brand;
        }
    }
}
